import {
	baseMethod
} from './method'
let baseUrlOption;
baseUrlOption = baseMethod()

const courtConfig = {
	//微信公众号APPID
	publicAppId: "",
	//请求接口
	baseUrl: baseUrlOption.baseUrl,
	authUrl: baseUrlOption.authUrl,
	//平台名称
	platformName: "Epumping",
	//项目logo
	logoUrl: "",
	//页面分享配置
	share: {
		title: 'Epumping',
		// #ifdef MP-WEIXIN
		path: '/pages/home/home', //小程序分享路径
		// #endif
		// #ifdef H5 || APP-PLUS
		//公众号||APP分享
		desc: "Epumping", // 分享描述
		link: "https://www.kemean.com/sameCity/18031201/index.html", // 分享链接，该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
		imgUrl: "http://qn.kemean.cn/upload/201901/28/23bedfc34597482292ecd6dc107f6342", // 分享图标
		// #endif
	}
};
const authConfig = {
	//微信公众号APPID
	publicAppId: "",
	//请求接口
	baseUrl: baseUrlOption.baseUrl,
	authUrl: baseUrlOption.authUrl,
	//平台名称
	platformName: "Epumping",
	//项目logo
	logoUrl: "",
};
//手机号验证正则表达式
const phoneRegular = /^1\d{10}$/;
//邮箱验证正则表达式
const mailRegular = /^\w+@\w+(\.[a-zA-Z]{2,3}){1,2}$/;
//密码验证正则表达式
const passwordRegular = /^[a-zA-Z0-9]{4,10}$/;
export default Object.assign({
	phoneRegular,
	mailRegular,
	passwordRegular,
	authConfig
}, courtConfig);
